gitdl

Download a Git repository from GitHub

void
gitdl
(
const string user
,
const string repo
,
const string tag
,
const string dest
,
const string stagingDir = tempDir()
,
uint retryTimes = 5
)

Parameters

user string

The username

repo string

The repository name

tag string

The tag to download

dest string

The destination path for the downloaded repository

stagingDir string

The directory to download the zip file into and unzip it. By default a temp direcotry is used

retryTimes uint

The number of times to retrying downloading. Defaults to 5.

Meta